import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useDandanStore = defineStore('dandan', () => {
  const userName = ref('苏陈凤')
  const uses = ref(0)

  const usedandan = () => {
    uses.value++
  }

  return { userName, uses, usedandan }
})
